package ca.concordia.soen6461.wichf.controller.dsl;

import ca.concordia.soen6461.wichf.controller.ViewStack;

public interface Navigation {

	static final Navigation STAY = new Navigation() {
		public void navigate(ViewStack viewStack) {
		}
	};
	
	static final Navigation BACK = new Navigation() {
		public void navigate(ViewStack viewStack) {
			viewStack.goBack();
		}
	};
	
	static final Navigation HOME = new Navigation() {
		public void navigate(ViewStack viewStack) {
			viewStack.goHome();
		}
	};
	
	void navigate(ViewStack viewStack);
	
}
